package com.conan.spring5.service.impl;

import com.conan.spring5.dao.UserDAO;
import com.conan.spring5.dao.impl.UserDAOImpl;
import com.conan.spring5.service.UserService;

/**
 * @version 加油！！！
 * @Description
 * @Author 谷藤新一GYC
 * @Date 2022/10/20 - 19:40
 */
public class UserServiceImpl implements UserService {
    private final UserDAO userDAO = new UserDAOImpl();
    @Override
    public void add() {
        System.out.println("service add..........");
        userDAO.update();
    }

    public void setUserDAO(UserDAOImpl userDAO) {
    }
}
   